/***********************************************************************
 * Module:  CenterDeviceController.java
 * Author:  Administrator
 * Purpose: Defines the Class CenterDeviceController
 ***********************************************************************/

package ishitong.deviceManagement.controller;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/** @pdOid b2b832ab-f24f-4abe-b22d-f4d670070a04 */
@Controller
public class CenterDeviceController extends ishitong.common.controller.ActionController {
   /** @pdOid 837fb183-d700-4616-8a4d-b851eb3107e6 */
   private static final String CD_SCH = "/deviceManagement/centerDevice/centerDeviceSearch";
   /** @pdOid 1b4ce544-cc14-426d-87a7-aa6afda938ea */
   private static final String CD_SCH_LST = "/deviceManagement/centerDevice/centerDeviceSearchList";
   /** @pdOid 0c38949e-a773-4d0a-bd70-9b58c9b31af0 */
   private static final String CD_VIW = "/deviceManagement/centerDevice/centerDeviceView";
   /** @pdOid 017d2ba5-f87d-4770-acfc-68b3982d3167 */
   private static final String CD_EDT = "/deviceManagement/centerDevice/centerDeviceEdit";
   
   /** 查询中心设备初始化
    * 
    * @param request
    * @exception Exception
    * @pdOid 1382b41a-a50a-4c8c-896f-8adbc103c61d */
   @RequestMapping(value = "/showCenterDeviceSearch.do")
   public ModelAndView handleShowCenterDeviceSearch(HttpServletRequest request) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(CD_SCH, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查询中心设备
    * 
    * @param request
    * @pdOid 05c8cff9-d304-4f06-bcd9-ae0c1a2f4974 */
   @RequestMapping(value = "/ajaxCenterDeviceSearchList.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxFindCenterDeviceSearchList(HttpServletRequest request) {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(CD_SCH_LST, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 维护中心设备
    * 
    * @param request 
    * @param response 
    * @param centerDeviceId
    * @exception Exception
    * @pdOid 10333a66-f25f-4627-9e7a-6327a9f8cb24 */
   @RequestMapping(value = "/ajaxShowCenterDeviceEdit.do")
   public ModelAndView handleAjaxShowCenterDeviceEdit(HttpServletRequest request, HttpServletResponse response, String centerDeviceId) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(CD_EDT, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查看中心设备
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid 58088677-7ca0-4b98-b824-377185441a08 */
   @RequestMapping(value = "/ajaxShowCenterDeviceView.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowCenterDeviceView(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(CD_VIW, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 保存中心设备
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid c936c2b2-eb58-43c0-88de-f36c1a8be136 */
   @RequestMapping(value = "/ajaxSaveCenterDevice.do", method = RequestMethod.POST)
   public void handleAjaxSaveCenterDevice(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }
   
   /** 删除中心设备
    * 
    * @param request 
    * @param centerDeviceIds 
    * @param response
    * @exception Exception
    * @pdOid e7a9df53-cb02-4ed4-a45b-2d5b9037ec36 */
   @RequestMapping(value = "/ajaxDeleteCenterDeviceByIds.do", method = RequestMethod.POST)
   public void handleAjaxDeleteCenterDeviceByIds(HttpServletRequest request, String centerDeviceIds, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }

}